package com.jinzhi.jzweb.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.common.base.CoreService;
import com.jinzhi.common.domain.Tree;
import com.jinzhi.jzweb.domain.OrganizationNewsDO;
import com.jinzhi.jzweb.pojo.ExportStatisticsVo;

import java.util.List;
import java.util.Map;

/**
 * 
 * <pre>
 * 机构信息表
 * </pre>
 * <small> 2020-02-24 21:00:11 | lance</small>
 */
public interface OrganizationNewsService extends CoreService<OrganizationNewsDO> {
    List<Map<Object,Object>> selByOrgId();
    Integer selMaxOrgNum();

    Tree<Map> selOrgList();

    List<Map<Object,Object>> selCerOrg(String profileId,String name);
    List<Map<Object,Object>> selCerOrgAll(String profileId);

    List<Long> selOrgProvince(String province);

    Long selOrgCadreId(Map map);

    List<ExportStatisticsVo> selOrgExportStaList(Map map);

    Page<OrganizationNewsDO> findPageList(Map map, int current , int number);

    List<Map> selOrgExportUnit(Map map);

    //查询机构信息
    List<Map> selmechanismList();
}
